<form id="expired_allot-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">推荐产品</label>
        <div class="col-xs-12 col-sm-8">
           <input id="c-company_id" data-rule="required" data-multiple="true" data-pagination="true" data-page-size="10" data-source="crm/product/push_products" data-field="product"  data-params='{"id":"{$ids}"}' class="form-control selectpage" name="product_id" type="text" value="{$ids}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">分配负责人</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control selectpicker" data-rule="required" name="admin_id">
                {foreach name="admins" item="v" key="k"}
                <optgroup label="{$v.name}">
                    {present name="$v.admins"}
                    {foreach name="$v['admins']" item="vo"}
                    <option value="{$vo.admin_id}">{$vo.nickname}</option>
                    {/foreach}
                    {/present}
                </optgroup>
                {/foreach}
            </select>
        </div>
    </div>
    <!--  <div class="form-group">
          <label class="control-label col-xs-12 col-sm-2">{:__('Product.product')}:</label>
          <div class="col-xs-12 col-sm-8">
          </div>
      </div>-->

    <input type="hidden" name="ids" value="{$ids}"/>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
